package com.cn.service.server.Equipment;

import com.cn.bean.pojo.lbj.*;
import com.cn.bean.vo.Equipment.ComponentBasicInformation;

import java.util.List;

public interface ComponentGroupService {
    //查询基础信息表
    List<ComponentGroupBasicMainTable> selectComponentBasic(ComponentGroupBasicMainTable componentGroupBasicMainTable);
    List<ComponentGroupBasicSubTable>selectComponentGroupBasicSub(ComponentGroupBasicSubTable componentGroupBasicSubTable);
    List<ComponentGroupBasicSubTable>selectBasicSub(int id);
    //查询设置信息表
    List<ComponentGroupSettingMainTable>selectComponentGroup(ComponentGroupSettingMainTable componentGroupSettingMainTable);
    List<ComponentGroupSettingSubTable>selectComponentGroupSub(ComponentGroupSettingSubTable componentGroupSettingSubTable);
    //查询变更信息表
    List<ComponentGroupUpdateMainTable>selectComponentUpdate(ComponentGroupUpdateMainTable componentGroupUpdateMainTable);
    List<ComponentGroupUpdateSubTable>selectComponentGroupUpdateSub(ComponentGroupUpdateSubTable componentGroupUpdateSubTable);
    List<ComponentBasicInformationTable>selectComponentBasicInformationTable(ComponentBasicInformationTable componentBasicInformationTable);
    List<SingleRegistrationTable>selectMain(SingleRegistrationTable singleRegistrationTable);
    List<SingleRegistrationTableSub>selectSub(SingleRegistrationTableSub sub);
    List<SingleRegistrationTableSub>selectSingleSub(SingleRegistrationTableSub sub);
    Integer getComponentGroupSettingAutoid();
    Integer getComponentGroupSettingSubAutoid();
    int insertComponentGroupSetting(ComponentGroupSettingMainTable componentGroupSettingMainTable);
    int insertComponentGroupSettingSub(ComponentGroupSettingSubTable componentGroupSettingSubTable);
    int insertComponentGroupUpdate(ComponentGroupUpdateMainTable componentGroupUpdateMainTable);
    int insertComponentGroupUpdateSub(ComponentGroupUpdateSubTable componentGroupUpdateSubTable);
    int insertComponentGroupBasicMain(ComponentGroupBasicMainTable componentGroupBasicMainTable);
    int insertComponentGroupBasicSub(ComponentGroupBasicSubTable componentGroupBasicSubTable);
    int updateComponentGroupSetting(ComponentGroupSettingMainTable componentGroupSettingMainTable);
    int updateComponentGroupUpdate(ComponentGroupUpdateMainTable componentGroupUpdateMainTable);
    int updateComponentGroupBasic(ComponentGroupBasicMainTable componentGroupBasicMainTable);
    int delComponentGroupSettingSub(int id);
    int delComponentGroupUpdateSub(int id);
    int delComponentGroupBasicSub(int id);
     int updateGroupStatus(int id);
    int updateSettingStatus(int id);
}
